package com.t235.gc.partners.Dao;

import com.t235.gc.entity.FinancePartners;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FinancePartnersMapper {
    int deleteByPrimaryKey(Long financeId);

    int insert(FinancePartners record);

    int insertSelective(FinancePartners record);

    FinancePartners selectByPrimaryKey(Long financeId);

    int updateByPrimaryKeySelective(FinancePartners record);

    int updateByPrimaryKey(FinancePartners record);

    int updateJia(@Param("balance") Integer balance,@Param("financeId") Integer financeId);
    int updateJian(@Param("balance") Integer balance,@Param("financeId") Integer financeId);
}